/*
 * @Description:
 * @Version: 1.0
 * @Author: wenbin
 * @Date: 2021-11-15 10:44:04
 * @LastEditors: wenbin
 * @LastEditTime: 2021-11-15 10:44:04
 * @FilePath: /vite-ts-vue3-test/src/mock/index.ts
 * Copyright (C) 2021 wenbin. All rights reserved.
 */
import Mock from 'mockjs';

Mock.mock(/\/magustest\/menu/, 'get', {
  code: 2000,
  message: '',
  data: [
    {
      nodeId: 1,
      nodePid: '',
      entityId: '',
      entityType: '',
      icon: 'magusdipjiankong-',
      text: '数据协同',
      leaf: false,
      checked: false,
      expanded: false,
      extend: {
        appUri: '',
        uri: '',
        uriType: '',
        params: '',
      },
      children: [
        {
          nodeId: 11,
          nodePid: '',
          entityId: '',
          entityType: '',
          icon: 'magusdipjiankong-',
          text: '数据一览',
          leaf: false,
          checked: false,
          expanded: false,
          extend: {
            appUri: '',
            uri: '/dataview/page',
            uriType: '',
            params: '',
          },
          children: [],
        },
        {
          nodeId: 12,
          nodePid: '',
          entityId: '',
          entityType: '',
          icon: 'magusdipjiankong-',
          text: '数据点组',
          leaf: false,
          checked: false,
          expanded: false,
          extend: {
            appUri: '',
            uri: '/datagroup',
            uriType: '',
            params: '',
          },
          children: [],
        },
        {
          nodeId: 13,
          nodePid: '',
          entityId: '',
          entityType: '',
          icon: 'magusdipjiankong-',
          text: '数据管理',
          leaf: false,
          checked: false,
          expanded: false,
          extend: {
            appUri: '',
            uri: '/dataManage/page',
            uriType: '',
            params: '',
          },
          children: [],
        },
      ],
    },
  ],
});
